<bz-modal-title>
  <ng-template>
    {{'@select-field' | bzI18n:'core'}}
  </ng-template>
</bz-modal-title>
<nz-checkbox-wrapper style="width: 100%;">
  <div nz-row>
    <div class="label-item" nz-col nzSpan="6" *ngFor="let item of fields;let i = index">
      <label nz-checkbox [(ngModel)]="item.__bzShow" [nzDisabled]="item.bzRequired || dynamicFreezeShow(item.bzFreezeShow,i)">
        {{item.bzLabel}}
      </label>
    </div>
  </div>
</nz-checkbox-wrapper>

<bz-modal-footer>
  <ng-template>
    <span class="text-error" *ngIf="showChooseLeastOneDanger">{{'@choose-at-least-one' | bzI18n: 'core'}}</span>
    <button nz-button nzType="default" class="btn-text" (click)="nzModalRef.triggerCancel()">{{'@cancel' | bzI18n: 'core'}}</button>
    <button nz-button nzType="primary" (click)="save()">{{'@ok' | bzI18n: 'core'}}</button>
  </ng-template>
</bz-modal-footer>
